home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / aimag.z / aimag
Encoding:
Text File  |  2002-10-03  |  2.7 KB  |  69 lines

  1. AIMAG(3I)                                             Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      AAIIMMAAGG, IIMMAAGG, DDIIMMAAGG, QQIIMMAAGG - Returns imaginary part of a complex number
  6.  
  7. SSYYNNOOPPSSIISS
  8.      AAIIMMAAGG (([ZZ==]_z))
  9.      IIMMAAGG (([ZZ==]_z))
  10.      DDIIMMAAGG (([ZZ==]_z))
  11.      QQIIMMAAGG (([ZZ==]_z))
  12.  
  13. IIMMPPLLEEMMEENNTTAATTIIOONN
  14.      UNICOS, UNICOS/mk, IRIX systems
  15.  
  16.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  17.  
  18. SSTTAANNDDAARRDDSS
  19.      Fortran
  20.  
  21.      Fortran extensions:  IIMMAAGG, DDIIMMAAGG, QQIIMMAAGG
  22.  
  23. DDEESSCCRRIIPPTTIIOONN
  24.      AAIIMMAAGG, IIMMAAGG, DDIIMMAAGG, and QQIIMMAAGG return the imaginary part of a complex
  25.      number.  AAIIMMAAGG is the generic function name; the others are specifics.
  26.      These are elemental intrinsic functions.  IIMMAAGG is a nonstandard
  27.      intrinsic elemental function and is a synonym for AAIIMMAAGG.  These
  28.      functions accept the following argument:
  29.  
  30.      _x         Must be of type single-precision complex, double-precision
  31.                complex, or quad-precision complex.  See the RETURN VALUES
  32.                section for information on input data types and return
  33.                values.
  34.  
  35.                The data type and kind type for single-precision,
  36.                double-precision, and quad-precision values differ depending
  37.                on your platform.  For platform-specific information, see
  38.                the TERMINOLOGY section of the IINNTTRROO__IINNTTRRIINN(3I) man page.
  39.  
  40.      These functions evaluate _y = _x , where _z = _x ,_x .
  41.                                    _i             _r  _i
  42. NNOOTTEESS
  43.      The AAIIMMAAGG intrinsic function name can be passed as an argument; the
  44.      others cannot.
  45.  
  46. RREETTUURRNN VVAALLUUEESS
  47.      AAIIMMAAGG and IIMMAAGG return the imaginary part of their complex arguments.
  48.  
  49.      DDIIMMAAGG returns the double-precision imaginary part of its
  50.      double-precision complex argument.
  51.  
  52.      QQIIMMAAGG returns the quad-precision imaginary part of its quad-precision
  53.      complex argument.
  54.  
  55. EEXXAAMMPPLLEESS
  56.      The following program gives the imaginary part of the complex number
  57.      (11..00,,22..00).  After running the program, RREESSUULLTT = 2.0.
  58.  
  59.           PROGRAM AIMTEST
  60.           REAL RESULT
  61.           RESULT=AIMAG( (1.0,2.0) )
  62.           PRINT *, RESULT
  63.           STOP
  64.           END
  65.  
  66. SSEEEE AALLSSOO
  67.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  68.      man page.
  69.